package com.wg.generator.service;

import com.wg.generator.entity.DownloadParam;
import freemarker.template.TemplateException;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.Map;

/**
 * service
 *
 * @author lihc14
 */
public interface GeneratorService {

    public Map<String,String> getResultByParams(Map<String, Object> params, HttpServletRequest request) throws IOException, TemplateException;

    String downloadFile(DownloadParam downloadParam, HttpServletRequest request);
}
